import {Http} from "../util/http";

export async function register(data) {
    return await Http.post({
        url: '/register',
        data,
        token: null
    })
}

export async function activeAccount(id) {
    return await Http.post({
        url: `/activeAccount?active=${id}`
    })
}
